$.extend($.fn.validatebox.defaults.rules, {
    idCard: {
        validator: function(value,param){
            return /^\d{18}$/.test(value);
        },
        message: 'idCard do not match.'
    }
}, {
	name : {
		validator: function(value, param){
			return /^[a-zA-Z]{1}[a-zA-Z0-9_.]{4,19}$/.test(value); 
		},
		message: 'name is  not match'
	}
});


$(function(){
	$('#city').combobox({
		onChange: function(newValue, oldValue){
			
		}
	});

});
